<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/30
 * Time: 14:42
 */

namespace app\admin\model;


use think\Model;

class Category extends Model
{
    public function getBannerAttr($value){
        if($value){
            $bannerArr=explode(",",$value);
            return $bannerArr;
        }

    }
}